<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.netbeans.modules</groupId>
        <artifactId>tfsonnb</artifactId>
        <version>1.0-SNAPSHOT</version>
    </parent>
    <artifactId>LibsWrapper</artifactId>
    <packaging>nbm</packaging>
    <build>
        <plugins>            
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <useDefaultManifestFile>true</useDefaultManifestFile>                    
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>                    
                    <nbmResources>
                        <nbmResource>
                            <directory>src/main/libs/11.0.0/native/linux/x86_64</directory>                            
                            <targetPath>modules/lib/11.0.0/native/linux/x86_64</targetPath>
                            <includes>                                
                                <include>*.so</include>
                            </includes>
                        </nbmResource>
                        <nbmResource>
                            <directory>src/main/libs/11.0.0/native/linux/x86</directory>                            
                            <targetPath>modules/lib/11.0.0/native/linux/x86</targetPath>
                            <includes>                                
                                <include>*.so</include>
                            </includes>
                        </nbmResource>
                        <nbmResource>
                            <directory>src/main/libs/11.0.0/native/win32/x86_64</directory>                            
                            <targetPath>modules/lib/11.0.0/native/win32/x86_64</targetPath>
                            <includes>                                
                                <include>*.dll</include>
                            </includes>
                        </nbmResource>
                        <nbmResource>
                            <directory>src/main/libs/11.0.0/native/win32/x86</directory>                            
                            <targetPath>modules/lib/11.0.0/native/win32/x86</targetPath>
                            <includes>                                
                                <include>*.dll</include>
                            </includes>
                        </nbmResource>
                    </nbmResources>
                    <publicPackages>
                        <publicPackage>org.netbeans.modules.libswrapper</publicPackage>
                        <!-- TFVC -->
                        <publicPackage>com.microsoft.tfs.core</publicPackage>
                        <publicPackage>com.microsoft.tfs.core.clients.versioncontrol.workspacecache.internal</publicPackage>
                        <publicPackage>com.microsoft.tfs.core.clients.versioncontrol.soapextensions</publicPackage>
                        <publicPackage>com.microsoft.tfs.core.clients.versioncontrol</publicPackage>
                        <!-- Core -->
                        <publicPackage>com.microsoft.tfs.core.clients.framework.configuration.entities</publicPackage>
                        <publicPackage>com.microsoft.tfs.core.exceptions</publicPackage>
                        <publicPackage>com.microsoft.tfs.core.httpclient</publicPackage>
                        <publicPackage>com.microsoft.tfs.util</publicPackage>
                        <publicPackage>com.microsoft.tfs.core.util</publicPackage>
                        <publicPackage>javax.xml.stream.events</publicPackage>
                        <publicPackage>javax.xml.stream</publicPackage>
                        <publicPackage>javax.xml.namespace</publicPackage>
                        <publicPackage>javax.xml.stream.util</publicPackage>
                    </publicPackages>
                    <licenseName>Microsoft Visual Studio License</licenseName>
                    <licenseFile>../MicrosoftVisualStudioLicense.txt</licenseFile>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-netbeans-api-annotations-common</artifactId>
            <version>${netbeans.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-modules</artifactId>
            <version>${netbeans.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-util</artifactId>
            <version>${netbeans.version}</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.microsoft.tfs</groupId>
            <artifactId>sdk</artifactId>
            <version>11.0.0</version>
            <type>jar</type>
        </dependency>
        <!-- 
            Not sure if this is needed anymore.
            TODO: try removing it and see it causes this issue https://netbeans.org/bugzilla/show_bug.cgi?id=209935 
        -->
        <dependency>
            <groupId>org.netbeans.external</groupId>
            <artifactId>org-eclipse-core-net</artifactId>
            <version>RELEASE80</version>
            <type>jar</type>
        </dependency>
    </dependencies>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
</project>